package com.bit.ioc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:
 * Date: 2025-11-19
 * Time: 11:38
 */
@ResponseBody
//@Controller
@Service
public class UserController {
    @RequestMapping("/hello")
    public String hello(){
       return "测试Controller 和 Service的区别";
    }
}


